package com.manage.infoboard.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.manage.infoboard.dao.InfoboardDao;
import com.manage.infoboard.service.IInfoboardService;
import com.manage.infoboard.vo.Infoboard;

@Service
public class InfoboardService implements IInfoboardService {

	@Autowired
	private InfoboardDao infoboardDao;

	public List<Infoboard> selectInfoboard(Integer sec) {
		return infoboardDao.selectInfoboard(sec);
	}

	public Integer selectInfoboardCount(Integer sec) {
		// TODO Auto-generated method stub
		return infoboardDao.selectInfoboardCount(sec);
	}

}
